package com.huizu.project.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huizu.common.annotation.Excel;
import com.huizu.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 教师用户对象 pro_user_ter
 * 
 * @author zhangmx
 * @date 2024-05-25
 */
public class ProUserTer
{
    private static final long serialVersionUID = 1L;

    /** 教师ID */
    private String userId;

    /** uniId */
    @Excel(name = "uniId")
    private String uniId;

    /** openID */
    @Excel(name = "openID")
    private String openId;

    /** openId2 */
    @Excel(name = "openId2")
    private String openId2;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 头像 */
    @Excel(name = "头像")
    private String userImage;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 学号 */
    @Excel(name = "学号")
    private String jsNumber;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 学院ID */
    @Excel(name = "学院ID")
    private String xyId;

    /** 学校ID */
    @Excel(name = "学校ID")
    private String xxId;

    /** 职位ID */
    @Excel(name = "职位ID")
    private String zwId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /**
     * 专业id
     */
    private String zyId;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String xyName;

    private String xxName;

    private String zwName;

    private String code;

    private String token;

    private String search;

    private String passwordNew;

    private Long[] roles;

    private Long deptId;

    public String getZyId() {
        return zyId;
    }

    public void setZyId(String zyId) {
        this.zyId = zyId;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUniId(String uniId) 
    {
        this.uniId = uniId;
    }

    public String getUniId() 
    {
        return uniId;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setOpenId2(String openId2) 
    {
        this.openId2 = openId2;
    }

    public String getOpenId2() 
    {
        return openId2;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUserImage(String userImage) 
    {
        this.userImage = userImage;
    }

    public String getUserImage() 
    {
        return userImage;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setJsNumber(String jsNumber) 
    {
        this.jsNumber = jsNumber;
    }

    public String getJsNumber() 
    {
        return jsNumber;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setXyId(String xyId) 
    {
        this.xyId = xyId;
    }

    public String getXyId() 
    {
        return xyId;
    }
    public void setXxId(String xxId) 
    {
        this.xxId = xxId;
    }

    public String getXxId() 
    {
        return xxId;
    }
    public void setZwId(String zwId) 
    {
        this.zwId = zwId;
    }

    public String getZwId() 
    {
        return zwId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getXyName() {
        return xyName;
    }

    public void setXyName(String xyName) {
        this.xyName = xyName;
    }

    public String getXxName() {
        return xxName;
    }

    public void setXxName(String xxName) {
        this.xxName = xxName;
    }

    public String getZwName() {
        return zwName;
    }

    public void setZwName(String zwName) {
        this.zwName = zwName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    public String getPasswordNew() {
        return passwordNew;
    }

    public void setPasswordNew(String passwordNew) {
        this.passwordNew = passwordNew;
    }

    public Long[] getRoles() {
        return roles;
    }

    public void setRoles(Long[] roles) {
        this.roles = roles;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("uniId", getUniId())
            .append("openId", getOpenId())
            .append("openId2", getOpenId2())
            .append("name", getName())
            .append("userImage", getUserImage())
            .append("phone", getPhone())
            .append("jsNumber", getJsNumber())
            .append("password", getPassword())
            .append("createTime", getCreateTime())
            .append("xyId", getXyId())
            .append("xxId", getXxId())
            .append("zwId", getZwId())
            .append("status", getStatus())
            .toString();
    }
}
